﻿<Window x:Class="SmartMeterParamSetting.UI.UI_Power"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="UI" Height="67" Width="292" Background="Transparent" WindowStyle="None" AllowsTransparency="True" WindowStartupLocation="CenterScreen" ShowInTaskbar="False">
    <Border CornerRadius="5" BorderBrush="{DynamicResource selectedStroke}" BorderThickness="1" Background="#FFF0F0F0">
        <Grid>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <DockPanel Grid.Row="0" Margin="10,2" LastChildFill="True">
                <TextBlock Text="升源电压：" VerticalAlignment="Center"></TextBlock>
                <ComboBox Name="Cmb_Power" Margin="4,2,0,0" VerticalAlignment="Center" IsEditable="True">
                    <ComboBoxItem>220</ComboBoxItem>
                    <ComboBoxItem>57.7</ComboBoxItem>
                    <!--<ComboBoxItem>100</ComboBoxItem>-->
                </ComboBox>
            </DockPanel>
            <Grid Grid.Row="1">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition/>
                    <ColumnDefinition/>
                </Grid.ColumnDefinitions>
                <Button Name="Btn_Power" Grid.Column="0" Margin="10,2" Content="确认升源" Click="Btn_Power_Click"/>
                <Button Name="Btn_Cancel" Grid.Column="1" Margin="10,2" Content="取消退出" Click="Btn_Cancel_Click"/>
            </Grid>
        </Grid>
    </Border> 
</Window>
